home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / raytrace / portray / exam_004.sce < prev    next >
Encoding:
Text File  |  1994-05-25  |  1.4 KB  |  92 lines

  1. ~ EXAM_004.SCE - This file shows the different appearence of Diffuse, Specular
  2.   and transparent materials
  3.  
  4.   Written on : 26th December 1993
  5.   Author     : Peter Morris
  6.  
  7. ~
  8.  
  9. camera
  10.    look-at (0.0 0.0 0.0)
  11.    drop-line (0 -1 0)
  12.    origin (-3 3 -8)
  13.    depth 0.56
  14.    x-size 0.64
  15.    y-size 0.48
  16.    filter standard
  17. ;
  18.  
  19. image
  20.    xsize 640
  21.    ysize 480
  22. ;
  23.  
  24. object
  25.    plane
  26.       position (-1000 0 -1000)
  27.       normal (0 1 0)
  28.       x-axis (1 0 0)
  29.       y-axis (0 0 1)
  30.    ;
  31.    material
  32.       chequers
  33.          material-a
  34.             colour (1 1 1)
  35.          ;
  36.          material-b
  37.             colour (0 0 0)
  38.          ;
  39.       ;
  40.    ;
  41. ;
  42.  
  43. object
  44.    sphere
  45.       centre (-3 1 0)
  46.       radius 1
  47.    ;
  48.    material
  49.       colour (1 1 1)
  50.       diffuse-reflection 0.0
  51.       specular-reflection 1.0
  52.       reflection 0.1
  53.    ;
  54. ;
  55.  
  56.  
  57. object
  58.    sphere
  59.       centre (0 1 0)
  60.       radius 1
  61.    ;
  62.    material
  63.       specular-reflection 1.0
  64.       reflection 0.1
  65.       colour (.2 .2 1)
  66.       spec-colour (1 1 1)
  67.       diffuse-reflection 0.0
  68.       transparancy 1.0
  69.       refractive-index 1.2
  70.    ;
  71. ;
  72.  
  73.  
  74. object
  75.    sphere
  76.       centre (3 1 0)
  77.       radius 1
  78.    ;
  79.    material
  80.       colour (.2 .2 1)
  81.       diffuse-reflection 0.0
  82.       transparancy 1.0
  83.       refractive-index 1.2
  84.    ;
  85. ;
  86.  
  87. light
  88.    colour (1 1 1)
  89.    position (-400 1000 -300)
  90. ;
  91.  
  92.